package com.example.communist_app_api.vo.uniapp.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author Brother Sheng Editor
 * @version 1.0
 * Create by 2023/3/2 0:02
 */
@Data
@ApiModel("查看留言参数")
public class UniAppSelectByConditionReq {

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("开始时间")
    private Date startTime;

    @ApiModelProperty("结束时间")
    private Date endTime;

    @NotNull
    @ApiModelProperty("页码")
    private Integer pageSize;

    @NotNull
    @ApiModelProperty("页数")
    private Integer pageNum;
}
